//
//  BaseLabel.swift
//  Exchange
//
//  Created by 孟祥群 on 2018/5/11.
//  Copyright © 2018年 common. All rights reserved.
//

import UIKit
enum colorStyle {
    case oneStyle
    case twiceStyle
    case thirdStyle
}
class BaseLabel: UILabel {
    init(style:colorStyle) {
        super.init(frame: CGRect.zero)
        if style == .oneStyle {
            self.themeTextColor = ThemeManager.ThemeColorKeys.text1
        }else if style == .twiceStyle {
            self.themeTextColor = ThemeManager.ThemeColorKeys.text2
        }else  {
            self.themeTextColor = ThemeManager.ThemeColorKeys.text3
        }
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    /*
    // Only override draw() if you perform custom drawing.
    // An empty implementation adversely affects performance during animation.
    override func draw(_ rect: CGRect) {
        // Drawing code
    }
    */

}
